class UserName
  attr_reader :first, :last
  
  def initialize(first, last)
    @first, @last = first, last
  end
  
  def to_s
    [@first.capitalize, @last.capitalize].compact.join(" ")
  end
end